package com.jk.controller;

import com.jk.bean.UrlImg;
import com.jk.service.LiShiService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;
import java.util.List;

@Controller
@RequestMapping("ls")
public class LiShiController {


    @Resource
    private LiShiService liShiService;

    @ResponseBody
    @RequestMapping("queryLiShiLunPianTu")
    public List<UrlImg> queryLiShiLunPianTu(){

        return liShiService.queryLiShiLunPianTu();
    }
}
